.elk {
    &__toolbar {
        &-menus {
            display: flex;
            width: auto;
            height: 100%;
            padding: 0 10px;
            color: inherit;
            font-size: 0;
            text-align: none;

            & li {
                position: relative;
                display: inline-block;
                height: 100%;
                padding: 0 10px;
                font-size: 14px;
                line-height: 48px;
                list-style: none;

                // this will make sure child menu height in the same line
                & * {
                    margin: 0;
                    padding: 0;
                }

                &:hover {
                    color: #222226;
                    background: #f0f0f5;
                }

                &::before {
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    // z-index: -1;
                    display: block;
                    width: 100%;
                    height: 0;
                    background: #0db582;
                    -webkit-transition: height 0.2s ease-in-out;
                    -o-transition: height 0.2s ease-in-out;
                    transition: height 0.2s ease-in-out;
                    content: '';
                }

                &.active::before,
                &:hover::before {
                    height: 5px;
                }

                // &.active::after {
                //     position: absolute;
                //     top: 0;
                //     left: 0;
                //     display: block;
                //     width: 100%;
                //     height: 2px;
                //     background: #0db582;
                //     content: '';
                // }

                & > a {
                    display: block;
                    height: 100%;
                    padding: 0 10px;
                    color: inherit;
                    text-decoration: none;

                    & > img {
                        position: relative;
                        vertical-align: middle;
                    }
                }
            }
        }
    }
}
